package net.dgitc.xingyannian.service;

import net.dgitc.xingyannian.entity.Student;

/**
 * StudentService
 *
 * @author XING&WANG
 * @version 2024/08/26 20:03
 **/
public interface StudentService {
    /*
      通过姓名和身份证获取学生信息、
     */
    Student getStudentInfo(String sName, String sPid);
    // 获取所有学生信息
    Iterable<Student> getAllStudents();
    // 添加学生信息
    void addStudent(Student student);

}
